<?php
class GroupController extends AdminController {
	public $modelName = 'GroupAccount';
	
	public function modelProvider() {
		return array_merge(parent::modelProvider(), array(
			'criteria' => array('scopes'=>'related'),
		));
	}
	
	public function outerActions() {
		return array_merge(parent::outerActions(), array(
			'admin' => 'actions.worker.group.admin',
			'edit' => 'actions.worker.group.edit',
			'view' => 'actions.worker.group.view',
			'updatePwd' => 'actions.updatePwd',
//			'commit' => 'actions.audit.commit',
//			'passed' => 'actions.audit.passed',
//			'unpassed' => 'actions.audit.unpassed'
		));
	}
}
?>